import {Component, Input, OnInit} from '@angular/core';
import {Hero} from '../../model/hero';

@Component({
  selector: 'app-herodetail',
  templateUrl: './app-herodetail.component.html',
  styleUrls: ['./app-herodetail.component.css']
})
export class AppHerodetailComponent implements OnInit {
  @Input() hero: Hero;
  constructor() { }

  ngOnInit() {
  }

}
